<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // console.log(Math);
        let {round,ceil,floor}=Math;
        console.log(round(12.5));
        console.log(ceil(2.1));
        console.log(floor(7.8));

        let result={
            "users":[
                {
                    "id":1001,
                    "username":"tom",
                    "gender":"男",
                    "courseName":"web前端",
                    "className":"wbs20101"
                }
            ],
            "school":"itany",
            "address":"南京"
        };
        // function show({users,school,address}){
        //     let [{id,username,gender,courseName,className}]=users;
        //     console.log("我的名字是："+username+",性别："+gender+",课程："+courseName+",班级是："+className+",学校是："+school+",地址："+address);
        // }
        // show(result);

        function show({users:[{id,username,gender,courseName,className}],school,address}){
           
            console.log("我的名字是："+username+",性别："+gender+",课程："+courseName+",班级是："+className+",学校是："+school+",地址："+address);
        }
        show(result);
    </script>
</head>
<body>
    
</body>
</html>